package webEquipeRechercheGwt.client.callback.consultation.commands;

import java.util.Collection;

import webEquipeRechercheGwt.client.entityMirror.PersonMirror;
import webEquipeRechercheGwt.client.entityShowingPanel.linkCreationPanel.ToPersonLinkCreationPanel;

public class CommandGetAllPersonsImplToPersonLinkPanel implements
		CommandGetAllPersons {

	private ToPersonLinkCreationPanel target;
	
	public CommandGetAllPersonsImplToPersonLinkPanel(ToPersonLinkCreationPanel target) {
		this.target = target;
	}

	@Override
	public void execute(Collection<PersonMirror> result) {
		target.setPersons(result);
	}

}
